home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2001 #13 / CD 13 (Black) - 2001.iso / Open Kart / data1.cab / Level_0_English_Data / menu_carriere_magasin.txt < prev    next >
Encoding:
Text File  |  2001-05-10  |  10.9 KB  |  731 lines

  1. ;//****************** CARRIERE MAGASIN (C8) *******************
  2. new Container
  3. {
  4.     name "container_carriere_magasin"
  5.     z 1
  6.  
  7.     background "data/menus/i_bg_carriere_640_0.nif"
  8.  
  9.     on_idle ActionIdleManager
  10.     {
  11.         ;eMENU_PARTS_SHOP
  12.         current_menu 1022
  13.     }        
  14.     
  15.     new Button
  16.     {
  17.         x 0.21
  18.         y 0.845
  19.         z 0.8
  20.         size_x 0.6
  21.         size_y 0.15
  22.         state_normal ActionAnimableImage
  23.         {
  24.             list ("data/menus/i_ovale_bleu.nif")
  25.         }
  26.     }
  27.     new MenuButton
  28.     {
  29.         name "choix1"
  30.         x 0.44
  31.         y 0.78
  32.         size_x 0.31
  33.         size_y 0.26
  34.  
  35.         normal_image "data/menus/i_grand_ovale.nif"
  36.         highlight_image "data/menus/i_grand_ovale_select.nif"
  37.  
  38.         state_manager "6001"
  39.  
  40.         on_idle ActionRotate3DObject
  41.         {
  42.             x 10.0
  43.             y 30.0
  44.             z 250.0
  45.             tick 0.12
  46.             angle 1.5708
  47.             scale 2
  48.             tilt_amplitude 0.1
  49.             tilt_speed 0
  50.  
  51.             axis_rotation 2
  52.         }
  53.     }
  54.     new MenuButton
  55.     {
  56.         name "choix2"
  57.         x 0.64
  58.         y 0.78
  59.         size_x 0.31
  60.         size_y 0.26
  61.  
  62.         normal_image "data/menus/i_grand_ovale.nif"
  63.         highlight_image "data/menus/i_grand_ovale_select.nif"
  64.  
  65.         state_manager "6002"
  66.  
  67.         on_idle ActionRotate3DObject
  68.         {
  69.             x 10.0
  70.             y 30.0
  71.             z 250.0
  72.             tick 0.11
  73.             angle 1.5708
  74.             scale 2
  75.             tilt_amplitude 0.1
  76.             tilt_speed 0
  77.  
  78.             axis_rotation 2
  79.         }
  80.     }
  81.     new MenuButton
  82.     {
  83.         name "choix0"
  84.         x 0.24
  85.         y 0.78
  86.         size_x 0.31
  87.         size_y 0.26
  88.  
  89.         normal_image "data/menus/i_grand_ovale.nif"
  90.         highlight_image "data/menus/i_grand_ovale_select.nif"
  91.  
  92.         state_manager "6000"
  93.  
  94.         on_idle ActionRotate3DObject
  95.         {
  96.             x 10.0
  97.             y 10.0
  98.             z 250.0
  99.             tick 0.1
  100.             angle 1.5708
  101.             scale 2
  102.             tilt_amplitude 0.1
  103.             tilt_speed 0
  104.  
  105.             axis_rotation 2
  106.         }
  107.     }
  108.     new MenuButton
  109.     {
  110.         name "choix3"
  111.         x 0.74
  112.         y 0.58
  113.         size_x 0.31
  114.         size_y 0.26
  115.  
  116.         normal_image "data/menus/i_grand_ovale.nif"
  117.         highlight_image "data/menus/i_grand_ovale_select.nif"
  118.  
  119.         state_manager "6003"
  120.  
  121.         on_idle ActionRotate3DObject
  122.         {
  123.             x 10.0
  124.             y 30.0
  125.             z 250.0
  126.             tick 0.125
  127.             angle 1.5708
  128.             scale 2
  129.             tilt_amplitude 0.1
  130.             tilt_speed 0
  131.  
  132.             axis_rotation 2
  133.         }
  134.     }    
  135.     new MenuButton
  136.     {
  137.         name "choix4"
  138.         x 0.24
  139.         y 0.38
  140.         z 0.9
  141.         size_x 0.31
  142.         size_y 0.26
  143.  
  144.         normal_image "data/menus/i_grand_ovale.nif"
  145.         highlight_image "data/menus/i_grand_ovale_select.nif"
  146.  
  147.         state_manager "6004"
  148.  
  149.         on_idle ActionRotate3DObject
  150.         {
  151.             x 10.0
  152.             y 30.0
  153.             z 250.0
  154.             tick 0.1
  155.             angle 1.5708
  156.             scale 2
  157.             tilt_amplitude 0.1
  158.             tilt_speed 0
  159.  
  160.             axis_rotation 2
  161.         }
  162.     }    
  163.     new MenuButton
  164.     {
  165.         name "choix5"
  166.         x 0.44
  167.         y 0.38
  168.         size_x 0.31
  169.         size_y 0.26
  170.  
  171.         normal_image "data/menus/i_grand_ovale.nif"
  172.         highlight_image "data/menus/i_grand_ovale_select.nif"
  173.  
  174.         ;eCHAMPIONSHIP_CONFIRM_RETURN
  175.         state_manager "6005"
  176.  
  177.         on_idle ActionRotate3DObject
  178.         {
  179.             x 10.0
  180.             y 30.0
  181.             z 250.0
  182.             tick 0.12
  183.             angle 1.5708
  184.             scale 2
  185.             tilt_amplitude 0.1
  186.             tilt_speed 0
  187.  
  188.             axis_rotation 2
  189.         }
  190.     }    
  191.     new MenuButton
  192.     {
  193.         name "choix6"
  194.         x 0.64
  195.         y 0.38
  196.         size_x 0.31
  197.         size_y 0.26
  198.  
  199.         normal_image "data/menus/i_grand_ovale.nif"
  200.         highlight_image "data/menus/i_grand_ovale_select.nif"
  201.  
  202.         ;eCHAMPIONSHIP_CONFIRM_RETURN
  203.         state_manager "6006"
  204.  
  205.         on_idle ActionRotate3DObject
  206.         {
  207.             x 10.0
  208.             y 30.0
  209.             z 250.0
  210.             tick 0.11
  211.             angle 1.5708
  212.             scale 2
  213.             tilt_amplitude 0.1
  214.             tilt_speed 0
  215.  
  216.             axis_rotation 2
  217.         }
  218.     }    
  219.     new MenuButton
  220.     {
  221.         name "choix7"
  222.         x 0.84
  223.         y 0.38
  224.         size_x 0.31
  225.         size_y 0.26
  226.  
  227.         normal_image "data/menus/i_grand_ovale.nif"
  228.         highlight_image "data/menus/i_grand_ovale_select.nif"
  229.  
  230.         ;eCHAMPIONSHIP_CONFIRM_RETURN
  231.         state_manager "6007"
  232.  
  233.         on_idle ActionRotate3DObject
  234.         {
  235.             x 10.0
  236.             y 30.0
  237.             z 250.0
  238.             tick 0.125
  239.             angle 1.5708
  240.             scale 2
  241.             tilt_amplitude 0.1
  242.             tilt_speed 0
  243.  
  244.             axis_rotation 2
  245.         }
  246.     }
  247.     
  248.     new MenuButton
  249.     {
  250.         name "titre_fenetre_carriere_magasin"
  251.         x 0.749
  252.         y 0.85
  253.         size_x 0.25
  254.         size_y 0.163
  255.         text "Career"
  256.         text_size 0.45
  257.         text_initial_color <0,0.66,1,1>
  258.         normal_image "data/menus/i_titre_bouton.nif"
  259.         highlight_image ""
  260.     }
  261.     new MenuButton
  262.     {
  263.         ;// Championnat
  264.         name "Championnat"
  265.         x 0.012
  266.         y 0.85
  267.         text "Championship"
  268.         text_size 0.21
  269.         change_script "menu_carriere.txt"
  270.         change_container "container_carriere_championnat"
  271.         change_nofade "true"
  272.     }
  273.     new MenuButton
  274.     {
  275.         ;// Courses amateur
  276.         name "Amateurs"
  277.         x 0.004
  278.         y 0.75
  279.         text "Amateur"
  280.         text2 "Races"
  281.         change_script "menu_carriere_course_amateur.txt"
  282.         change_container "container_carriere_course_amateur"
  283.         change_nofade "true"
  284.     }
  285.     new MenuButton
  286.     {
  287.         ;// Pieces
  288.         x 0.005
  289.         y 0.65
  290.         text "Parts"
  291.         change_script "menu_carriere_piece.txt"
  292.         change_container "container_carriere_piece"
  293.         change_nofade "true"
  294.     }
  295.     new MenuButton
  296.     {
  297.         ;// Ajustement
  298.         x 0.015
  299.         y 0.55
  300.         text "Adjustments"
  301.         change_script "menu_carriere_ajustement_magasin.txt"
  302.         change_container "container_carriere_ajustement"
  303.         change_nofade "true"
  304.     }
  305.     new MenuButton
  306.     {
  307.         ;// Magasin
  308.         x 0.038
  309.         y 0.45
  310.         text "The Store"
  311.         text_initial_color <0,0.66,1,1>
  312.         highlight_image ""
  313.     }
  314.     new MenuButton
  315.     {
  316.         ;// Classements
  317.         x 0.07
  318.         y 0.35
  319.         text "Ranking"
  320.         change_script "menu_carriere_classement.txt"
  321.         change_container "container_carriere_classement_general"
  322.         change_nofade "true"
  323.     }
  324.     new MenuButton
  325.     {
  326.         ;// Commanditaires
  327.         x 0.12
  328.         y 0.25
  329.         text "Sponsors"
  330.         change_script "menu_carriere_commanditaire.txt"
  331.         change_container "container_carriere_commanditaire"
  332.         change_nofade "true"
  333.     }
  334.     new MenuButton
  335.     {
  336.         ;// Ovale de l'argent
  337.         name "carriere_magasin_montant_argent"
  338.         x 0.37
  339.         y 0.06
  340.         text "$10,000"
  341.         text_size 0.3
  342.         text_initial_color <1,1,1,1>
  343.         text_over_color <1,1,1,1>
  344.         normal_image "data/menus/i_bouton.nif"
  345.         highlight_image ""
  346.     }
  347.     new MenuButton
  348.     {
  349.         ;// Sauver/charger
  350.         x 0.862
  351.         y 0.15
  352.         text "Save/"
  353.         text2 "Load"
  354.         change_script "menu_principal.txt"
  355.         change_container "container_general_sauver_charger"
  356.     }
  357.     new MenuButton
  358.     {
  359.         ;// Retour
  360.         x 0.74
  361.         y 0.07
  362.         text "Main"
  363.         text2 "Menu"
  364.  
  365.         ;eCHAMPIONSHIP_CONFIRM_RETURN
  366.         state_manager "1200"
  367.     }
  368.     new FastFont
  369.     {
  370.         ;// Acheter
  371.         name "piton_career_acheter"
  372.         x 0.614
  373.         y 0.213
  374.         ratio 0.5
  375.         text "Buy"
  376.         initial_color <0.99,0.61,0,1>
  377.         over_color <0,0.66,1,1>
  378.  
  379.         on_click ActionStateManagerInterface
  380.         {
  381.             request_type 7002
  382.         }
  383.     }
  384.     new Button
  385.     {
  386.         ;// Race selector (Blue circle)
  387.         x 0.48
  388.         y 0.16
  389.         z 0.9
  390.         size_x 0.3
  391.         size_y 0.17
  392.  
  393.         state_normal ActionAnimableImage
  394.         {
  395.             list ("data/menus/i_ovale_start.nif")
  396.         }
  397.     }
  398.     
  399.     new FastFont
  400.     {
  401.         name "description0"
  402.         x 0.35
  403.         y 0.95
  404.         ratio 0.2
  405.         text " "
  406.         disabled_color <1,1,1,1>
  407.         activated 0
  408.     }
  409.     new FastFont
  410.     {
  411.         name "cout0"
  412.         x 0.35
  413.         y 0.95
  414.         ratio 0.2
  415.         text " "
  416.         disabled_color <1,1,1,1>
  417.         activated 0
  418.     }
  419.     new FastFont
  420.     {
  421.         name "autre0"
  422.         x 0.35
  423.         y 0.95
  424.         ratio 0.2
  425.         text " "
  426.         disabled_color <1,1,1,1>
  427.         activated 0
  428.     }
  429.     new FastFont
  430.     {
  431.         name "description1"
  432.         x 0.35
  433.         y 0.95
  434.         ratio 0.2
  435.         text " "
  436.         disabled_color <1,1,1,1>
  437.         activated 0
  438.     }
  439.     new FastFont
  440.     {
  441.         name "cout1"
  442.         x 0.35
  443.         y 0.95
  444.         ratio 0.2
  445.         text " "
  446.         disabled_color <1,1,1,1>
  447.         activated 0
  448.     }
  449.     new FastFont
  450.     {
  451.         name "autre1"
  452.         x 0.35
  453.         y 0.95
  454.         ratio 0.2
  455.         text " "
  456.         disabled_color <1,1,1,1>
  457.         activated 0
  458.     }    
  459.     new FastFont
  460.     {
  461.         name "description2"
  462.         x 0.35
  463.         y 0.95
  464.         ratio 0.2
  465.         text " "
  466.         disabled_color <1,1,1,1>
  467.         activated 0
  468.     }
  469.     new FastFont
  470.     {
  471.         name "cout2"
  472.         x 0.35
  473.         y 0.95
  474.         ratio 0.2
  475.         text " "
  476.         disabled_color <1,1,1,1>
  477.         activated 0
  478.     }
  479.     new FastFont
  480.     {
  481.         name "autre2"
  482.         x 0.35
  483.         y 0.95
  484.         ratio 0.2
  485.         text " "
  486.         disabled_color <1,1,1,1>
  487.         activated 0
  488.     }
  489.     new FastFont
  490.     {
  491.         name "description3"
  492.         x 0.35
  493.         y 0.95
  494.         ratio 0.2
  495.         text " "
  496.         disabled_color <1,1,1,1>
  497.         activated 0
  498.     }
  499.     new FastFont
  500.     {
  501.         name "cout3"
  502.         x 0.35
  503.         y 0.95
  504.         ratio 0.2
  505.         text " "
  506.         disabled_color <1,1,1,1>
  507.         activated 0
  508.     }
  509.     new FastFont
  510.     {
  511.         name "autre3"
  512.         x 0.35
  513.         y 0.95
  514.         ratio 0.2
  515.         text " "
  516.         disabled_color <1,1,1,1>
  517.         activated 0
  518.     }
  519.  
  520.     new FastFont
  521.     {
  522.         name "description4"
  523.         x 0.35
  524.         y 0.95
  525.         ratio 0.2
  526.         text " "
  527.         disabled_color <1,1,1,1>
  528.         activated 0
  529.     }
  530.     new FastFont
  531.     {
  532.         name "cout4"
  533.         x 0.35
  534.         y 0.95
  535.         ratio 0.2
  536.         text " "
  537.         disabled_color <1,1,1,1>
  538.         activated 0
  539.     }
  540.     new FastFont
  541.     {
  542.         name "autre4"
  543.         x 0.35
  544.         y 0.95
  545.         ratio 0.2
  546.         text " "
  547.         disabled_color <1,1,1,1>
  548.         activated 0
  549.     }
  550.     new FastFont
  551.     {
  552.         name "description5"
  553.         x 0.35
  554.         y 0.95
  555.         ratio 0.2
  556.         text " "
  557.         disabled_color <1,1,1,1>
  558.         activated 0
  559.     }
  560.     new FastFont
  561.     {
  562.         name "cout5"
  563.         x 0.35
  564.         y 0.95
  565.         ratio 0.2
  566.         text " "
  567.         disabled_color <1,1,1,1>
  568.         activated 0
  569.     }
  570.     new FastFont
  571.     {
  572.         name "autre5"
  573.         x 0.35
  574.         y 0.95
  575.         ratio 0.2
  576.         text " "
  577.         disabled_color <1,1,1,1>
  578.         activated 0
  579.     }
  580.     new FastFont
  581.     {
  582.         name "description6"
  583.         x 0.35
  584.         y 0.95
  585.         ratio 0.2
  586.         text " "
  587.         disabled_color <1,1,1,1>
  588.         activated 0
  589.     }
  590.     new FastFont
  591.     {
  592.         name "cout6"
  593.         x 0.35
  594.         y 0.95
  595.         ratio 0.2
  596.         text " "
  597.         disabled_color <1,1,1,1>
  598.         activated 0
  599.     }
  600.     new FastFont
  601.     {
  602.         name "autre6"
  603.         x 0.35
  604.         y 0.95
  605.         ratio 0.2
  606.         text " "
  607.         disabled_color <1,1,1,1>
  608.         activated 0
  609.     }
  610.     new FastFont
  611.     {
  612.         name "description7"
  613.         x 0.35
  614.         y 0.95
  615.         ratio 0.2
  616.         disabled_color <1,1,1,1>
  617.         activated 0
  618.     }
  619.     new FastFont
  620.     {
  621.         name "cout7"
  622.         x 0.35
  623.         y 0.95
  624.         ratio 0.2
  625.         disabled_color <1,1,1,1>
  626.         activated 0
  627.     }
  628.     new FastFont
  629.     {
  630.         name "autre7"
  631.         x 0.35
  632.         y 0.95
  633.         ratio 0.2
  634.         text " "
  635.         disabled_color <1,1,1,1>
  636.         activated 0
  637.     }
  638.  
  639.  
  640.     ;;;Changement d'ecran de selection;;;
  641.     ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  642.     new MenuButton
  643.     {
  644.         ;// LEFT
  645.         x 0.28
  646.         y 0.88
  647.         size_x 0.074
  648.         size_y 0.074
  649.         normal_image "data/menus/i_triangle_orange.nif"
  650.         highlight_image "data/menus/i_triangle_bleu.nif"
  651.         
  652.         state_manager "5000"
  653.     }
  654.     new MenuButton
  655.     {
  656.         ;// RIGHT
  657.         x 0.66
  658.         y 0.88
  659.         size_x 0.074
  660.         size_y 0.074
  661.         normal_image "data/menus/i_triangle_orange_flip.nif"
  662.         highlight_image "data/menus/i_triangle_bleu_flip.nif"
  663.         
  664.         state_manager "5001"
  665.     }
  666.  
  667.     new MenuButton
  668.     {
  669.         name "bouton_more_left"
  670.  
  671.         x 332
  672.         y 335
  673.         size_x 0.074
  674.         size_y 0.074
  675.         normal_image "data/menus/i_triangle_orange.nif"
  676.         highlight_image "data/menus/i_triangle_bleu.nif"
  677.  
  678.         state_manager "7000"
  679.     }
  680. ;    new FastFont
  681. ;    {
  682. ;        x 0
  683. ;        y 0
  684. ;        z 0
  685. ;        name "text_more_left"
  686. ;
  687. ;        ratio 0.18
  688. ;        text "SUITE"
  689. ;        disabled_color <1,1,0,1>
  690. ;        activated 0
  691. ;    }
  692. ;
  693.     new MenuButton
  694.     {
  695.         name "bouton_more_right"
  696.  
  697.         x 332
  698.         y 335
  699.         size_x 0.074
  700.         size_y 0.074
  701.         normal_image "data/menus/i_triangle_orange_flip.nif"
  702.         highlight_image "data/menus/i_triangle_bleu_flip.nif"
  703.  
  704.         state_manager "7001"
  705.     }
  706. ;    new FastFont
  707. ;    {
  708. ;        x 0
  709. ;        y 0
  710. ;        z 0
  711. ;        name "text_more_right"
  712. ;
  713. ;        ratio 0.18
  714. ;        text "SUITE"
  715. ;        disabled_color <1,1,0,1>
  716. ;        activated 0
  717. ;    }
  718.     new FastFont
  719.     {
  720.         x 0.508
  721.         y 0.888
  722.         name "dest"
  723.  
  724.         ratio 0.45
  725.         text "dest"
  726.         initial_color <1,1,0,1>
  727.         auto_center 1
  728.     }
  729.  
  730. }
  731.